OTP\Handler\Forms\RegistrationMagicForm A

Total Complexity 55
Dependencies 7
Dependents 0
Total lines 370
Lines of code 184
Logical lines of code 103
Comment lines 145
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
checkIfPromptForOTP()
S
58 6 14
handle_form_options()
S
57 5 15
miniorange_crf_user()
S
54 4 21
get_email_phone_data()
S
57 4 17
handle_form()
S
58 4 15
parseFormDetails()
S
58 4 15
handle_crf_form_submit()
S
68 4 6
handle_failed_verification()
S
59 3 15
getFieldID()
S
69 3 5
get_phone_number_selector()
S
70 3 6
isPhoneVerificationEnabled()
S
75 2 4
isEmailVerificationEnabled()
S
75 2 4
checkIfValidated()
S
73 2 5
getFormPostSubmittedValue()
S
78 2 3
isPhoneNumberAlreadyInUse()
S
64 2 9
__construct()
S
59 1 14
getCRFEmailFromRequest()
S
71 1 5
getCRFPhoneFromRequest()
S
71 1 5
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3